import {Component, OnInit} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {NzCalendarMode} from 'ng-zorro-antd/calendar';

@Component({
  selector: 'app-index',
  templateUrl: './index.component.html',
  styleUrls: ['./index.component.css']
})
export class IndexComponent implements OnInit {

  array = [1];
  effect = 'scrollx';

  constructor(private http: HttpClient) {
  }

  ngOnInit(): void {
  }

  date = new Date(2012, 11, 21);
  mode: NzCalendarMode = 'month';

  panelChange(change: { date: Date; mode: string }): void {
    console.log(change.date, change.mode);
  }

}
